package com.daffodil.workable.service;

import java.util.List;

import com.daffodil.core.entity.Query;
import com.daffodil.workable.entity.WorkableForm;

/**
 * -节点表单表单Service接口
 * @author yweijian
 * @date 2022-04-07
 * @version 1.0
 * @description
 */
public interface IWorkableFormService {

    /**
     * -分页查询节点表单表单列表
     * @param query 节点表单表单
     * @return 节点表单表单
     */
    public List<WorkableForm> selectWorkableFormList(Query<WorkableForm> query);

    /**
     * -查询节点表单表单
     * @param id 节点表单表单ID
     * @return 节点表单表单
     */
    public WorkableForm selectWorkableFormById(String id);

    /**
     * -新增节点表单表单
     * @param workableForm
     */
    public void insertWorkableForm(WorkableForm workableForm);

    /**
     * -修改节点表单表单
     * @param workableForm
     */
    public void updateWorkableForm(WorkableForm workableForm);

    /**
     * -删除节点表单表单
     * @param ids
     */
    public void deleteWorkableFormByIds(String[] ids);

    /**
     * -查询节点表单表单
     * @param taskId 任务编号
     * @return
     */
    public WorkableForm selectWorkableFormByTaskIdAndNodeId(String taskId, String nodeId);

}
